Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Added separator to model in renderPartial function #5080

Closed
wants to merge 3 commits into from
Closed

Added separator to model in renderPartial function #5080

wants to merge 3 commits into from

Conversation

serpent7776
Copy link

No description provided.

@weierophinney
Copy link
Member

Please add unit tests for this new feature.

Changed ModuleManager so I can use statements in application.config.php file like:

return array(
	'Application',
	$env=='dev' ? 'ZendDeveloperTools' : null
)

Null modules are silently ignored.
@@ -78,6 +78,7 @@ public function onLoadModules()
}

foreach ($this->getModules() as $moduleName => $module) {
if ($module == null) continue;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed source to conform to Zend coding standards
$this->assertInstanceOf('SomeModule\Module', $loadedModules['SomeModule']);
$this->assertSame(count($loadedModules), 1);
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do the module manager commits have to do with this? Please remove.

@ghost ghost assigned weierophinney Oct 22, 2013
weierophinney added a commit that referenced this pull request Oct 22, 2013
Added separator to model in renderPartial function
weierophinney added a commit that referenced this pull request Oct 22, 2013
- outside stated scope of issue/pull request.
weierophinney added a commit that referenced this pull request Oct 22, 2013
- EOF marker
weierophinney added a commit that referenced this pull request Oct 22, 2013
@weierophinney
Copy link
Member

Merged to develop for release with 2.3.0; removed all ModuleManager-related commits, as they were not in scope with the stated purpose of the pull request. @serpent7776 -- in the future, please create new branches per feature/bugfix, as stated in the contributing guidelines.

@froschdesign
Copy link
Member

👎
This is not needed!

Use in your partial script:

$this->navigation()->breadcrumbs()->getSeparator();

weierophinney added a commit to zendframework/zend-modulemanager that referenced this pull request May 15, 2015
…master

Added separator to model in renderPartial function
weierophinney added a commit to zendframework/zend-modulemanager that referenced this pull request May 15, 2015
- outside stated scope of issue/pull request.
weierophinney added a commit to zendframework/zend-view that referenced this pull request May 15, 2015
…master

Added separator to model in renderPartial function
weierophinney added a commit to zendframework/zend-view that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-view that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants